package com.ruoyi.project.treat.service.impl;

import com.ruoyi.project.treat.domain.TreRegister;
import com.ruoyi.project.treat.mapper.TreRegisterMapper;
import com.ruoyi.project.treat.service.ITreRegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TreRegisterServiceImpl implements ITreRegisterService {
    @Autowired
    private TreRegisterMapper treRegisterMapper;


    @Override
    public int addRegister(TreRegister treRegister) {
        return 0;
    }

    @Override
    public List<TreRegister> findRegisterList(TreRegister treRegister) {
        return treRegisterMapper.selectRegisterList(treRegister);
    }
}
